<h1><%= pluralize(@object_type.entities.size, @object_type.name) %></h1>


<% if @object_type.entities.size <= 30 %>
	
	<p>The objects:</p>

	<ul>
	<% @object_type.entities.each do |entity| %>
		<li><%= link_to(entity.name, museum_object_path(entity.museum.id, entity.id)) %></li>
	<% end %>
	</ul>

<% else %>

	

<% end%>